package cn.bugzy.serviceconsumer.hystrix;

import cn.bugzy.serviceconsumer.service.FeignHelloService;
import org.springframework.stereotype.Component;

@Component
public class FeignHelloServiceHystrix implements FeignHelloService {
    @Override
    public String hello(String name) {
        return String.format("sorry %s, service [hello] has fail!", name);
    }
}
